$(document).ajaxStart(function(){
    NProgress.start();
});
$(document).ajaxStop(function(){
    NProgress.done();
},);

$('.aside-link').click(function(){
    console.log(111);
    
    $('.aside-nav-list').slideToggle();
});


$('.menu').click(function(){
    $('.lt-aside').toggleClass('lt-out');
    $('body ,.lt-top').toggleClass('pl-180');
});


$('.logout').click(function(){
    	$.ajax({
            type: 'get',
            url: ' /employee/employeeLogout',
            dataType: 'json',
            success: function (res) {
               location.href = './login.html'
            }
        })
})